<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.7.0" />

	<title>Class Mekayotl_Debug | nort</title>

	<script type="text/javascript" src="resources/combined.js?1481722677"></script>
	<script type="text/javascript" src="elementlist.js?1094816827"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?1567499433" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-App.html">App<span></span></a>
						<ul>
				<li><a href="package-App.Saas.html">Saas</a>
						</li>
				<li><a href="package-App.saas.html">saas</a>
						</li>
				<li><a href="package-App.SaaS.html">SaaS<span></span></a>
						<ul>
				<li><a href="package-App.saas.Logic.html">Logic</a>
						</li>
				<li><a href="package-App.SaaS.SaaS.html">SaaS</a>
						</li>
				<li><a href="package-App.Saas.Tables.html">Tables</a>
						</li>
				<li><a href="package-App.Saas.Vo.html">Vo</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-aqua.html">aqua<span></span></a>
						<ul>
				<li><a href="package-aqua.tools.html">tools<span></span></a>
						<ul>
				<li><a href="package-aqua.tools.Monitor.html">Monitor</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-flashservices.html">flashservices<span></span></a>
						<ul>
				<li><a href="package-flashservices.adapters.html">adapters</a>
						</li>
				<li><a href="package-flashservices.debug.html">debug</a>
						</li>
				<li><a href="package-flashservices.exception.html">exception</a>
						</li>
				<li><a href="package-flashservices.filters.html">filters</a>
						</li>
				<li><a href="package-flashservices.io.html">io</a>
						</li>
				<li><a href="package-flashservices.sql.html">sql</a>
						</li>
				<li><a href="package-flashservices.util.html">util</a>
						</li>
							</ul></li>
				<li class="active"><a href="package-Mekayotl.html">Mekayotl<span></span></a>
						<ul>
				<li class="active"><a href="package-Mekayotl.core.html">core</a>
						</li>
				<li><a href="package-Mekayotl.database.html">database<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.database.dal.html">dal</a>
						</li>
				<li><a href="package-Mekayotl.database.mysql.html">mysql</a>
						</li>
				<li><a href="package-Mekayotl.database.sqlite.html">sqlite</a>
						</li>
							</ul></li>
				<li><a href="package-Mekayotl.tools.html">tools<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.tools.render.html">render<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.tools.render.html.html">html</a>
						</li>
							</ul></li>
				<li><a href="package-Mekayotl.tools.renders.html">renders</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-None.html">None</a>
						</li>
				<li><a href="package-PHP.html">PHP</a>
						</li>
				<li><a href="package-PHPMailer.html">PHPMailer</a>
						</li>
				<li><a href="package-Services.html">Services<span></span></a>
						<ul>
				<li><a href="package-Services.JSON.html">JSON</a>
						</li>
							</ul></li>
				<li><a href="package-Swift.html">Swift<span></span></a>
						<ul>
				<li><a href="package-Swift.ByteStream.html">ByteStream</a>
						</li>
				<li><a href="package-Swift.CharacterStream.html">CharacterStream</a>
						</li>
				<li><a href="package-Swift.Encoder.html">Encoder</a>
						</li>
				<li><a href="package-Swift.Events.html">Events</a>
						</li>
				<li><a href="package-Swift.KeyCache.html">KeyCache</a>
						</li>
				<li><a href="package-Swift.Mailer.html">Mailer</a>
						</li>
				<li><a href="package-Swift.Mime.html">Mime</a>
						</li>
				<li><a href="package-Swift.Plugins.html">Plugins</a>
						</li>
				<li><a href="package-Swift.Transport.html">Transport</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-Mekayotl.html">Mekayotl</a></li>
				<li><a href="class-Mekayotl_ApplicationAbstract.html">Mekayotl_ApplicationAbstract</a></li>
				<li class="active"><a href="class-Mekayotl_Debug.html">Mekayotl_Debug</a></li>
			</ul>





			<h3>Functions</h3>
			<ul>
				<li><a href="function-__autoload.html">__autoload</a></li>
				<li><a href="function-parse_ini_string.html">parse_ini_string</a></li>
				<li><a href="function-str_getcsv.html">str_getcsv</a></li>
			</ul>
		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-Mekayotl.core.html" title="Summary of Mekayotl\core"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class Mekayotl_Debug</h1>


	<div class="description">
	
<p>La clase principal</p>

<p>Esta clase realiza procesos internos y es el concentrador de funciones
globales del framework.</p>

	</div>









	<div class="info">
		
		
		
		<b>Package:</b> <a href="package-Mekayotl.html">Mekayotl</a>\<a href="package-Mekayotl.core.html">core</a><br />

				<b>Copyright:</b>
				Copyright (c) 2008, <a href="http://www.aquainteractive.com">Aqua
Interactive</a><br />
				<b>Author:</b>
				$Author$<br />
		<b>Located at</b> <a href="source-class-Mekayotl_Debug.html#16" title="Go to source code">lib/php/mekayotl/Debug.php</a><br />
	</div>


	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="startTimer" id="_startTimer">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_startTimer">#</a>
		<code><a href="source-class-Mekayotl_Debug.html#46" title="Go to source code">startTimer</a>( )</code>

		<div class="description short">
			
<p>Inicia un timer de rastreo</p>

		</div>

		<div class="description detailed hidden">
			
<p>Inicia un timer de rastreo</p>








		</div>
		</div></td>
	</tr>
	<tr data-order="stopTimer" id="_stopTimer">

		<td class="attributes"><code>
			 public static
			integer
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_stopTimer">#</a>
		<code><a href="source-class-Mekayotl_Debug.html#55" title="Go to source code">stopTimer</a>( )</code>

		<div class="description short">
			
<p>Finaliza el timer de rastreo</p>

		</div>

		<div class="description detailed hidden">
			
<p>Finaliza el timer de rastreo</p>




				<h4>Returns</h4>
				<div class="list">
					<code>integer</code><br>El micro-tiempo transcurrido desde la llamada de Mekayotl::startTimer()<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="trace" id="_trace">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_trace">#</a>
		<code><a href="source-class-Mekayotl_Debug.html#70" title="Go to source code">trace</a>( <span>mixed <var>$v</var></span> )</code>

		<div class="description short">
			
<p>Agrega un string al rastreo de variables</p>

		</div>

		<div class="description detailed hidden">
			
<p>Agrega un string al rastreo de variables</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$v</var></dt>
					<dd><code>mixed</code><br> Variable a agregar para rastrear</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="printTrace" id="_printTrace">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_printTrace">#</a>
		<code><a href="source-class-Mekayotl_Debug.html#85" title="Go to source code">printTrace</a>( )</code>

		<div class="description short">
			
<p>Da salida a las variables agregadas al rastreo</p>

		</div>

		<div class="description detailed hidden">
			
<p>Da salida a las variables agregadas al rastreo</p>








		</div>
		</div></td>
	</tr>
	<tr data-order="stop" id="_stop">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_stop">#</a>
		<code><a href="source-class-Mekayotl_Debug.html#96" title="Go to source code">stop</a>( <span>mix <var>$dump</var> = <span class="php-keyword1">NULL</span></span>, <span>string <var>$dieText</var> = <span class="php-keyword1">NULL</span></span> )</code>

		<div class="description short">
			
<p>Detiene todos los procesos.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Detiene todos los procesos.</p>

<p>Si la aplicación esta en modo de debug, genera un rastreo a donde fue
llamado.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$dump</var></dt>
					<dd><code>mix</code><br> Variable a ser rastreada.</dd>
					<dt><var>$dieText</var></dt>
					<dd><code>string</code><br> Texto a mostrar al parar.</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="addToLogFile" id="_addToLogFile">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_addToLogFile">#</a>
		<code><a href="source-class-Mekayotl_Debug.html#114" title="Go to source code">addToLogFile</a>( <span>string <var>$file</var> = <span class="php-quote">'log'</span></span>, <span>string <var>$line</var> = <span class="php-quote">'None'</span></span>, <span>string <var>$trackFormat</var> = <span class="php-quote">&quot;Ymd&quot;</span></span> )</code>

		<div class="description short">
			
<p>Agrega un string al rastreo de variables</p>

		</div>

		<div class="description detailed hidden">
			
<p>Agrega un string al rastreo de variables</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$file</var></dt>
					<dd><code>string</code><br> Nombre del log. Default: log</dd>
					<dt><var>$line</var></dt>
					<dd><code>string</code><br> Texto a agregar. Default: none</dd>
					<dt><var>$trackFormat</var></dt>
					<dd><code>string</code><br> Formato de rastreo. Default: Ymd</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="errorHandler" id="_errorHandler">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_errorHandler">#</a>
		<code><a href="source-class-Mekayotl_Debug.html#138" title="Go to source code">errorHandler</a>( <span>integate <var>$errno</var></span>, <span>string <var>$errstr</var></span>, <span>string <var>$errfile</var></span>, <span>integrate <var>$errline</var></span>, <span>array <var>$errcontext</var></span> )</code>

		<div class="description short">
			
<p>Manejador de errores</p>

		</div>

		<div class="description detailed hidden">
			
<p>Manejador de errores</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$errno</var></dt>
					<dd><code>integate</code></dd>
					<dt><var>$errstr</var></dt>
					<dd><code>string</code></dd>
					<dt><var>$errfile</var></dt>
					<dd><code>string</code></dd>
					<dt><var>$errline</var></dt>
					<dd><code>integrate</code></dd>
					<dt><var>$errcontext</var></dt>
					<dd><code>array</code></dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="exceptionHandler" id="_exceptionHandler">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_exceptionHandler">#</a>
		<code><a href="source-class-Mekayotl_Debug.html#201" title="Go to source code">exceptionHandler</a>( <span><code><a href="class-ErrorException.html">ErrorException</a></code> <var>$exception</var></span> )</code>

		<div class="description short">
			
<p>Manejador de Excepciones</p>

		</div>

		<div class="description detailed hidden">
			
<p>Manejador de Excepciones</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$exception</var></dt>
					<dd><code><code><a href="class-ErrorException.html">ErrorException</a></code></code></dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="traceCallStack" id="_traceCallStack">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_traceCallStack">#</a>
		<code><a href="source-class-Mekayotl_Debug.html#216" title="Go to source code">traceCallStack</a>( <span>boolean <var>$params</var> = <span class="php-keyword1">FALSE</span></span>, <span>boolean <var>$end</var> = <span class="php-keyword1">FALSE</span></span> )</code>

		<div class="description short">
			
<p>Rastreo de llamadas</p>

		</div>

		<div class="description detailed hidden">
			
<p>Rastreo de llamadas</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$params</var></dt>
					<dd><code>boolean</code></dd>
					<dt><var>$end</var></dt>
					<dd><code>boolean</code></dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	</table>










</div>

	<div id="footer">
		nort API documentation generated by <a href="http://apigen.org">ApiGen 2.7.0</a>
	</div>
</div>
</div>
</body>
</html>
